package com.lzm.ydpt.module.riding.activity;

import android.view.View;
import android.widget.TextView;

import com.byt.framlib.base.BaseActivity;
import com.byt.framlib.basemvp.BasePresenter;
import com.byt.framlib.commonwidget.StatusBarUtil;
import com.byt.framlib.commonwidget.onclicktwo.AntiShake;
import com.lzm.ydpt.R;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 我的账户页面
 */
public class MyAccountActivity extends BaseActivity {
    @BindView(R.id.tv_my_account)
    TextView tv_my_account;
    @BindView(R.id.tv_withdraw_cashing_num)
    TextView tv_withdraw_cashing_num;
    @BindView(R.id.tv_withdraw_com_num)
    TextView tv_withdraw_com_num;
    @BindView(R.id.tv_commission_amount_num)
    TextView tv_commission_amount_num;

    @Override
    public int getLayoutId() {
        return R.layout.activity_my_account;
    }

    @Override
    public BasePresenter initPreData() {
        return null;
    }

    @Override
    public void initView() {
    }

    @OnClick({R.id.img_my_account_back, R.id.tv_jump_widraw, R.id.rl_withdraw_cashing, R.id.rl_commission_amount})
    public void onClick(View view) {
        if (AntiShake.check(view.getId())) {
            return;
        }
        switch (view.getId()) {
            case R.id.img_my_account_back:
                finish();
                break;
            case R.id.tv_jump_widraw:
                showShortToast("提现");
                break;
            case R.id.rl_withdraw_cashing:
//                showShortToast("提现中");
                break;
            case R.id.rl_commission_amount:
//                showShortToast("佣金合计");
                break;
        }

    }

    @Override
    protected void setStatusBar() {
        StatusBarUtil.setColor(this, getResources().getColor(R.color.color_main));
        changStatusIconCollor(false);
    }
}